﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC26Controller
    /// </summary>
    public class VYC26Controller
    {
        private static VYC26BO _vyc26Bo;
        public VYC26Controller()
        {
            _vyc26Bo = new VYC26BO();
        }
        public List<ModelVYC26> GetAllList()
        {
            return _vyc26Bo.GetAllList();
        }
        public int AddData(ModelVYC26 model)
        {
            return _vyc26Bo.AddData(model);
        }
        public int EditData(ModelVYC26 model)
        {
            return _vyc26Bo.EditData(model);
        }
        public int DeleteData(ModelVYC26 model)
        {
            return _vyc26Bo.DeleteData(model);
        }
        public List<ModelVYC26> GetById(int id)
        {
            return _vyc26Bo.GetById(id);
        }
    }
}